import service from 'util/request.js'

// cart页面请求数据
export function cartGetData(){
    return new Promise((res,rej)=>{
        service.request({
            url:'/api/api/goods/recommend_goods_list?group_id=&page=0&page_size=20&type=&XDEBUG_SESSION_START=PHPSTORM&timestamp=1601741479386',
            method:'get'
        }).then((ok)=>{
            res(ok.data.data.list)
        }).catch((err)=>{
            rej(err)
        })
    })
}